clear
set more off, perm
cd /Users/zachbrown/Projects/PriceTransparency/Data/

insheet using "dist/zcta_county_rel_10.csv"

rename zcta5 zip

// Keep most populated county
gsort zip -zhupct
by zip: gen pop_rank = _n 

*brow zip zhupct pop_rank
keep if pop_rank==1
duplicates report zip

keep zip county
save "dist/zcta_county_rel_10.dta", replace

